package com.second.statistics.pojo.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.checker.units.qual.A;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("订单实体类")
@TableName("tb_order")
public class TbOrder {

  /**
   * 订单id
   */
  @ApiModelProperty("订单id")
  @TableId(type = IdType.AUTO)
  private long id;
  @ApiModelProperty("客户id")
  private long clientId;
  @ApiModelProperty("车辆id")
  private long carId;
  @ApiModelProperty("开始时间")
  private java.sql.Timestamp startTime;
  @ApiModelProperty("结束时间")
  private java.sql.Timestamp endTime;
  @ApiModelProperty("出租门店")
  private long brrowShop;
  @ApiModelProperty("归还门店")
  private long returnShop;
  @ApiModelProperty("总金额")
  private double totalPrice;
  @ApiModelProperty("预付金额")
  private double preparidAmount;
  @ApiModelProperty("订单状态")
  private long state;
  @ApiModelProperty("是否送车上门")
  private String isGetCarAtHome;
  @ApiModelProperty("上门地址id")
  private String getCarLocation;
  @ApiModelProperty("是否上门还车")
  private String isReturnCarAtHome;
  @ApiModelProperty("还车地址id")
  private String returnCarLocation;
  private java.sql.Timestamp addtime;
  private String orderNo;



}
